package com.erdos.hyt.mall.model;//

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;
import java.util.Date;//

/**
 * 收货地址信息
 * @author liurong
 * @date 2017年4月5日
 */
@Alias("mallConsigneeAddress")
public class MallConsigneeAddress {
    @ApiModelProperty(value = "地址ID")
    private Integer addressId;//地址ID

    @ApiModelProperty(value = "用户ID")
    private Integer userId;//用户ID

    @ApiModelProperty(value = "收货地址信息")
    private String address;//收货地址信息

    @ApiModelProperty(value = "邮编")
    private String postNum;//邮编

    @ApiModelProperty(value = "收件人")
    private String consignee;//收件人

    @ApiModelProperty(value = "收件电话")
    private String consigneeMobile;//收件电话

    @ApiModelProperty(value = "排序（倒叙排列，最大的为最近的）")
    private Integer sort;//排序（倒叙排列，最大的为最近的）

    @JsonIgnore
    private Integer createUser;//

    @JsonIgnore
    private LocalDateTime createTime;//

    @JsonIgnore
    private LocalDateTime updateTime;//

    @JsonIgnore
    private Integer updateUser;//

    @JsonIgnore
    private String delFlag;//

    public Integer getAddressId() {
        return addressId;//
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;//
    }

    public Integer getUserId() {
        return userId;//
    }

    public void setUserId(Integer userId) {
        this.userId = userId;//
    }

    public String getAddress() {
        return address;//
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();//
    }

    public String getPostNum() {
        return postNum;//
    }

    public void setPostNum(String postNum) {
        this.postNum = postNum == null ? null : postNum.trim();//
    }

    public String getConsignee() {
        return consignee;//
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee == null ? null : consignee.trim();//
    }

    public String getConsigneeMobile() {
        return consigneeMobile;//
    }

    public void setConsigneeMobile(String consigneeMobile) {
        this.consigneeMobile = consigneeMobile == null ? null : consigneeMobile.trim();//
    }

   

    public Integer getCreateUser() {
        return createUser;//
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;//
    }

    

    public Integer getUpdateUser() {
        return updateUser;//
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;//
    }

    public String getDelFlag() {
        return delFlag;//
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();//
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    
}